package com.ssamkj.wstar.dto.godMode;

import com.ssamkj.wstar.common.DateUtil;
import com.ssamkj.wstar.dto.abstractDTO;

public class LocaleDTO extends abstractDTO {
	private String loc;
	private String name;
	private int dt;
	private boolean active;
	
	public LocaleDTO(){};
	
	public LocaleDTO(String loc, String name, int dt, boolean active) {
		this.loc = loc;
		this.name = name;
		this.dt = dt;
		this.active = active;
	}
	
	public String getLoc() {
		return loc.toUpperCase();
	}
	public void setLoc(String loc) {
		this.loc = loc;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getDt() {
		return dt;
	}
	
	public String getTime(){
		return DateUtil.getTime(String.valueOf(this.getDt()));
	}
	public void setDt(int dt) {
		this.dt = dt;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	
	
}
